from django.db import models
from utils.modelsMixin import ModelSetMixin
from django.contrib.auth.models import User
class Classes(ModelSetMixin):
    name = models.CharField(max_length=20, verbose_name='班级名称')
    slogan = models.TextField(verbose_name='口号', null=True, blank=True)

    member = models.ManyToManyField(User)
    class Meta:
        db_table = 'classes'
        verbose_name = '班级'
        verbose_name_plural = verbose_name
# Create your models here.
